<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
<meta charset="utf-8" />
<title>订单详情</title>
<link rel="stylesheet" type="text/css" href="o/css/public2.css" />
<link rel="stylesheet" type="text/css" href="o/css/myorder.css" />
</head>
<body>
	<!------------------------------head------------------------------>
	<div class="head ding">
		<div class="wrapper clearfix">
			<div class="clearfix" id="top">
				<h1 class="fl">
					<a href="menu/recommand.do"><img
						src="o/images/logo.png" /></a>
				</h1>
				
			</div>
			<ul class="clearfix" id="bott">
				<li><a href="">首页</a></li>
				<li><a href="">所有商品</a>
					<div class="sList">
						<div class="wrapper  clearfix">
							<a href="">
								<dl>
									<dt>
										<img src="o/img/中餐.jpg" />
									</dt>
									<dd>中餐</dd>
								</dl>
							</a> <a href="">
								<dl>
									<dt>
										<img src="o/img/西餐.jpg" />
									</dt>
									<dd>西餐</dd>
								</dl>
							</a> <a href="paint.html">
								<dl>
									<dt>
										<img src="o/img/快餐.jpg" />
									</dt>
									<dd>快餐</dd>
								</dl>
							</a> <a href="paint.html">
								<dl>
									<dt>
										<img src="o/img/点心.jpg" />
									</dt>
									<dd>点心</dd>
								</dl>
							</a> <a href="paint.html">
								<dl>
									<dt>
										<img src="o/img/饮品.jpg" />
									</dt>
									<dd>饮品</dd>
								</dl>
							</a>
						</div>
					</div></li>
			</ul>
		</div>
	</div>
	<!------------------------------idea------------------------------>
	<div class="address mt">
		<div class="wrapper clearfix">
			<a href="" class="fl">首页</a> <span>/</span> <a href="" class="on">我的订单</a>
			<span>/</span> <a href="" class="on">订单详情</a>
		</div>
	</div>

	<!------------------------------Bott------------------------------>
	<div class="Bott">
		<div class="wrapper clearfix">
			<div class="you fl">
				<c:forEach items="${order}" var="order">
					<div class="my clearfix">
						<h2>
							订单详情
							<h3>
								订单号：<span>${order.oid}</span>
							</h3>
					</div>
					<div class="orderList">
						<div class="orderList1">
							<h3>${order.OSname}</h3>
							<c:forEach items="${ordermessage}" var="om">
								<div class="clearfix">
									<a href="" class="fl"><img src="o/img/g1.jpg" /></a>
									<p class="fl">
										<a href="">${om.dishName}</a><a href="">¥${om.dishPrice}×${om.mnumber}</a>
									</p>
								</div><br/>
							</c:forEach>
						</div>
						<div class="orderList1">
							<h3>收货信息</h3>
							<p>
								姓 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:&nbsp;&nbsp;<span>${order.address_name}</span>
							</p>
							<p>
								联系电话:&nbsp;&nbsp;<span>${order.address_phone}</span>
							</p>
							<p>
								收货地址:&nbsp;&nbsp;<span>${order.address_detail}</span>
							</p>
						</div>
						<div class="orderList1">
							<h3>支付方式及送货时间</h3>
							<p>
								支付方式：<span>在线支付</span>
							</p>
							<p>
								送货时间：<span>不限送货时间</span>
							</p>
						</div>
						<div class="orderList1 hei">
							<h3>
								<strong>商品总价：</strong><span>¥${order.oamount}</span>
							</h3>
							<p>
								<strong>运 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;费：</strong><span>¥0</span>
							</p>
							<p>
								<strong>订单金额：</strong><span>¥${order.oamount}</span>
							</p>
							<p>
								<strong>实付金额：</strong><span>¥${order.oamount}</span>
							</p>
						</div>
					</div>
				</c:forEach>
			</div>
		</div>
	</div>


	<!--返回顶部-->
	<div class="gotop">
		<a href="cart.html">
			<dl>
				<dt>
					<img src="o/img/gt1.png" />
				</dt>
				<dd>
					去购<br />物车
				</dd>
			</dl>
		</a> <a href="#" class="dh">
			<dl>
				<dt>
					<img src="o/img/gt2.png" />
				</dt>
				<dd>
					联系<br />客服
				</dd>
			</dl>
		</a> <a href="mygxin.html">
			<dl>
				<dt>
					<img src="o/img/gt3.png" />
				</dt>
				<dd>
					个人<br />中心
				</dd>
			</dl>
		</a> <a href="#" class="toptop" style="display: none">
			<dl>
				<dt>
					<img src="o/img/gt4.png" />
				</dt>
				<dd>
					返回<br />顶部
				</dd>
			</dl>
		</a>
		<p>400-800-8200</p>
	</div>
	<!--footer-->
	<div class="footer">
		<div class="top">
			<div class="wrapper">
				<div class="clearfix">
					<a href="#2" class="fl"><img src="o/img/foot1.png" /></a> <span
						class="fl">7天无理由退货</span>
				</div>
				<div class="clearfix">
					<a href="#2" class="fl"><img src="o/img/foot2.png" /></a> <span
						class="fl">15天免费换货</span>
				</div>
				<div class="clearfix">
					<a href="#2" class="fl"><img src="o/img/foot3.png" /></a> <span
						class="fl">满599包邮</span>
				</div>
				<div class="clearfix">
					<a href="#2" class="fl"><img src="o/img/foot4.png" /></a> <span
						class="fl">手机特色服务</span>
				</div>
			</div>
		</div>
	</div>
	<script src="o/js/jquery-1.12.4.min.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="o/js/public.js" type="text/javascript" charset="utf-8"></script>
	<script src="o/js/user.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
